package collection;

import java.util.ArrayList;
import java.util.Collections;
import java.util.List;

public class ReverseAList {
	public static void main(String[] args) {
		List<String> names = new ArrayList<String>();
		names.add("a");
		names.add("b");
		names.add("c");
		Collections.sort(names, Collections.reverseOrder());
		// Unmodifiable list
		List<String> unmodifiableList = Collections.unmodifiableList(names);
		unmodifiableList.add("hello");
		
		for (String name : names) {
			System.out.print(name);
		}
		
		Company [] companies = new Employee[2];
	}
}
